package org.onion.pattern.sample.order.doamin.pay.event;

import lombok.Data;
//import org.onion.pattern.event.domain.annotation.Externalized;
import org.onion.pattern.event.domain.DomainEvent;
import org.onion.pattern.sample.order.doamin.pay.PayOrder;

import java.time.LocalDateTime;

/**
 * 能被外部化的
 */
@Data
public class PayEvent implements DomainEvent {

    private PayOrder order;

    @Override
    public String eventKey() {
        return null;
    }

    @Override
    public LocalDateTime eventTime() {
        return null;
    }

    @Override
    public Object domainId() {
        return null;
    }
}
